package com.star.file.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhouhengzhe
 * @date 2023/7/27
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "file")
public class LocalFileProperties {

    @ApiModelProperty("上传文件存储在本地的根路径")
    private String path;

    @ApiModelProperty("资源映射路径 前缀")
    public String prefix;

    @ApiModelProperty("域名或本机访问地址")
    public String domain;

}
